﻿using Swirebev.PhotoDownload.DAL;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace Swirebev.PhotoDownload.Cloud
{
    public class Utility
    {
        /// <summary>
        /// 取营业所名称
        /// </summary>
        /// <param name="routeId"></param>
        /// <returns></returns>
        public static string GetSalesCenterByRoute(string routeId)
        {
            return LocationDataAccess.GetSalesCenterByRoute(routeId);
        }

        /// <summary>
        /// 创建文件夹
        /// </summary>
        /// <param name="directoryName"></param>
        public static void CreateDirectory(string directoryName)
        {
            if (!Directory.Exists(directoryName))
            {
                Directory.CreateDirectory(directoryName);
            }
        }

    }
}
